Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for #7610 (incorrect permissions on ~/.ssh/authorized_keys causes authentication failure after insecure keypair replacement) #7611

Merged
merged 3 commits into from
Jul 20, 2016

Conversation

jayhendren
Copy link
Contributor

This fixes the issue reported in #7610. I'm not sure if any additional test cases are necessary to cover this; I can certainly write some if they are.

@jayhendren jayhendren changed the title fix for #7610 (incorrect permissions on ~/.ssh/authorized_keys causes insecure keypair replacement failure) fix for #7610 (incorrect permissions on ~/.ssh/authorized_keys causes authentication failure after insecure keypair replacement) Jul 19, 2016
@edestecd
Copy link

edestecd commented Jul 19, 2016

👍 I experienced the same issue on ubuntu directly after updating to 1.8.5 :(

Please insert this patch asap!

I'm on Virtualbox 5.0.26

@jayhendren
Copy link
Contributor Author

Looks like unit tests are missing entirely for the remove_public_key method. I'll see if I can't get some written.

@jayhendren
Copy link
Contributor Author

PR updated with unit tests. Also fixed a typo.

@sethvargo sethvargo added this to the 1.8.6 milestone Jul 19, 2016
@sethvargo sethvargo self-assigned this Jul 19, 2016
@pietervogelaar
Copy link

Same issue here on Mac OS X after updating to Vagrant 1.8.5. I'm on VirtualBox 5.0.26.

@sethvargo sethvargo merged commit 2418cb1 into hashicorp:master Jul 20, 2016
@jayhendren
Copy link
Contributor Author

Thanks @sethvargo!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants